.class LVitxI/jtHon/tiOew/aiIwu;
.super Ljava/lang/Object;

# interfaces
.implements LAEisT/NMUPI;


# instance fields
.field BesqQ:Z

.field final synthetic LGzmp:LAEisT/Xcscn;

.field final synthetic aeySQ:LVitxI/jtHon/tiOew/Mvnfq;

.field final synthetic gaWeF:LAEisT/nzTMR;

.field final synthetic nrmFG:LVitxI/jtHon/tiOew/aQynZ;


# direct methods
.method constructor <init>(LVitxI/jtHon/tiOew/Mvnfq;LAEisT/nzTMR;LVitxI/jtHon/tiOew/aQynZ;LAEisT/Xcscn;)V
    .locals 0

    iput-object p1, p0, LVitxI/jtHon/tiOew/aiIwu;->aeySQ:LVitxI/jtHon/tiOew/Mvnfq;

    iput-object p2, p0, LVitxI/jtHon/tiOew/aiIwu;->gaWeF:LAEisT/nzTMR;

    iput-object p3, p0, LVitxI/jtHon/tiOew/aiIwu;->nrmFG:LVitxI/jtHon/tiOew/aQynZ;

    iput-object p4, p0, LVitxI/jtHon/tiOew/aiIwu;->LGzmp:LAEisT/Xcscn;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public ESIJc(LAEisT/OyUcY;J)J
    .locals 6

    const-wide/16 v0, -0x1

    const/4 v3, 0x1

    :try_start_0
    iget-object v2, p0, LVitxI/jtHon/tiOew/aiIwu;->gaWeF:LAEisT/nzTMR;

    invoke-interface {v2, p1, p2, p3}, LAEisT/nzTMR;->ESIJc(LAEisT/OyUcY;J)J
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-wide v4

    cmp-long v2, v4, v0

    if-nez v2, :cond_2

    iget-boolean v2, p0, LVitxI/jtHon/tiOew/aiIwu;->BesqQ:Z

    if-nez v2, :cond_0

    iput-boolean v3, p0, LVitxI/jtHon/tiOew/aiIwu;->BesqQ:Z

    iget-object v2, p0, LVitxI/jtHon/tiOew/aiIwu;->LGzmp:LAEisT/Xcscn;

    invoke-interface {v2}, LAEisT/Xcscn;->close()V

    :cond_0
    move-wide v4, v0

    :goto_0
    return-wide v4

    :catch_0
    move-exception v0

    iget-boolean v1, p0, LVitxI/jtHon/tiOew/aiIwu;->BesqQ:Z

    if-nez v1, :cond_1

    iput-boolean v3, p0, LVitxI/jtHon/tiOew/aiIwu;->BesqQ:Z

    iget-object v1, p0, LVitxI/jtHon/tiOew/aiIwu;->nrmFG:LVitxI/jtHon/tiOew/aQynZ;

    invoke-interface {v1}, LVitxI/jtHon/tiOew/aQynZ;->jSEjr()V

    :cond_1
    throw v0

    :cond_2
    iget-object v0, p0, LVitxI/jtHon/tiOew/aiIwu;->LGzmp:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->cZmGX()LAEisT/OyUcY;

    move-result-object v1

    invoke-virtual {p1}, LAEisT/OyUcY;->vILFo()J

    move-result-wide v2

    sub-long/2addr v2, v4

    move-object v0, p1

    invoke-virtual/range {v0 .. v5}, LAEisT/OyUcY;->hvYfs(LAEisT/OyUcY;JJ)LAEisT/OyUcY;

    iget-object v0, p0, LVitxI/jtHon/tiOew/aiIwu;->LGzmp:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->SGOxo()LAEisT/Xcscn;

    goto :goto_0
.end method

.method public RRPdk()LAEisT/Keicq;
    .locals 1

    iget-object v0, p0, LVitxI/jtHon/tiOew/aiIwu;->gaWeF:LAEisT/nzTMR;

    invoke-interface {v0}, LAEisT/nzTMR;->RRPdk()LAEisT/Keicq;

    move-result-object v0

    return-object v0
.end method

.method public close()V
    .locals 2

    iget-boolean v0, p0, LVitxI/jtHon/tiOew/aiIwu;->BesqQ:Z

    if-nez v0, :cond_0

    const/16 v0, 0x64

    sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-static {p0, v0, v1}, LVitxI/jtHon/AthHa;->Ikisc(LAEisT/NMUPI;ILjava/util/concurrent/TimeUnit;)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, LVitxI/jtHon/tiOew/aiIwu;->BesqQ:Z

    iget-object v0, p0, LVitxI/jtHon/tiOew/aiIwu;->nrmFG:LVitxI/jtHon/tiOew/aQynZ;

    invoke-interface {v0}, LVitxI/jtHon/tiOew/aQynZ;->jSEjr()V

    :cond_0
    iget-object v0, p0, LVitxI/jtHon/tiOew/aiIwu;->gaWeF:LAEisT/nzTMR;

    invoke-interface {v0}, LAEisT/nzTMR;->close()V

    return-void
.end method
